Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Conversation

@ErstwhileWork
Copy link

Replace call to missing DatabaseReference.fromStatus() method (in Firebase 3.0) with the use of DatabaseException

Replace code in method GeoFire.onDataChange(xx) with the lines below (and add an import of
import com.google.firebase.database.DatabaseException;)

                DatabaseException exception = new DatabaseException(message);
                this.callback.onCancelled(DatabaseError.fromException(exception));

Replace call to missing DatabaseReference.fromStatus() method (in Firebase 3.0) with the use of DatabaseException

Replace line 80 in GeoFire with the lines below (and add an import of 
import com.google.firebase.database.DatabaseException;)

                    DatabaseException exception = new DatabaseException(message);
                    this.callback.onCancelled(DatabaseError.fromException(exception));
@scmkjh
Copy link

scmkjh commented Jun 17, 2016

I think ";" is missing at line 80.

@samtstern
Copy link
Contributor

@ErstwhileWork thanks for the contribution! Something similar was done in #34 so I am going to close this.

@samtstern samtstern closed this Jul 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants